package com.buba.pojo;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 厂商表
 * </p>
 *
 * @author MrJia
 * @since 2020-10-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "Vendor对象", description = "厂商表")
public class Vendor implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "厂商名称")
    private String vendorName;

    @ApiModelProperty(value = "厂商电话")
    private String verdorPhone;

    @ApiModelProperty(value = "厂商类型")
    private String vendorType;

    @ApiModelProperty(value = "厂商联系人名称")
    private String vendorContactUser;

    @ApiModelProperty(value = "厂商联系人电话")
    private String vendorContactPhone;

    @ApiModelProperty(value = "厂商详情地址")
    private String detailsAddress;

    @ApiModelProperty(value = "厂商缴纳押金")
    private BigDecimal vendorDepoist;

    @ApiModelProperty(value = "省id")
    private String provinceId;

    @ApiModelProperty(value = "市id")
    private String cityId;

    @ApiModelProperty(value = "县id")
    private String countyId;

    @ApiModelProperty(value = "签约部门id")
    private String signDept;

    @ApiModelProperty(value = "营业执照")
    private String businessLicense;

    @ApiModelProperty(value = "签约合同")
    private String signContent;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    @ApiModelProperty(value = "到期时间")
    private Date endTime;

    @ApiModelProperty(value = "0:使用中/1:停用")
    private String state;

    @ApiModelProperty(value = "版本")
    @Version
    private Integer version;

    @ApiModelProperty(value = "0未删除/1已删除")
    @TableLogic
    private Integer isDeleted;

    @ApiModelProperty(value = "创建人")
    private String userId;

    @ApiModelProperty(value = "服务区域")
    private String signArea;

    @ApiModelProperty(value = "审核状态 0 带审核，1 通过审核，2 驳回")
    private String reviewStatus;

    @ApiModelProperty(value = "原因")
    private String theReason;

}
